<!-- Begin units/units.tpl -->

{titlebar colspan=5 title="Units Condition Records (tickets)"}
{opentable}

<table border="0" cellspacing="1" cellpadding="3" width="80%" align="left">

<tr class="sectiontableheader" align="center">
<td width="5%">REC</td>
<td align="left">Profil</td>
<td width="10%" align="left">Tickets</td>
<td width="20%">Base</td>

<td width="5%">Delete</td>
</tr>
{if is_array($units)}
{foreach from=$units key=recid item=unit}
<tr class="{rowcolor}" align="center">
<td width="5%" align="left">{$unit.recid}</td>
<td align="left">{uprofile id=$unit.profileid}</td>
<td align="right">{$unit.units}</td>
<td width="20%" align="left">{ubasis id=$unit.basis}</td>

<td width="5%"><a href="?module=units&action=delete&recid={$unit.recid}&gid={$smarty.get.gid}"><img src="{$smarty.env.imgs.delete}" border="0" alt="Delete" /></a></td>
</tr>
{/foreach}
{else}
<tr class="data"><td colspan="5">No record.</td></tr>
{/if}


</table>
</table>

<!-- End units/units.tpl -->

